<?php
namespace App\Info\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 产品管理Dto （导入导出）
 */
#[ExcelData]
class InfoProductDto implements MineModelExcel
{
    #[ExcelProperty(value: "ID", index: 0)]
    public string $id;

    #[ExcelProperty(value: "标题
", index: 1)]
    public string $title;

    #[ExcelProperty(value: "副标题", index: 2)]
    public string $sub_title;

    #[ExcelProperty(value: "摘要", index: 3)]
    public string $summary;

    #[ExcelProperty(value: "Key", index: 4)]
    public string $category_key;

    #[ExcelProperty(value: "标题列表", index: 5)]
    public string $tag_list;

    #[ExcelProperty(value: "图片列表", index: 6)]
    public string $upload_imgs;

    #[ExcelProperty(value: "上传列表", index: 7)]
    public string $upload_tags;

    #[ExcelProperty(value: "content", index: 8)]
    public string $content;

    #[ExcelProperty(value: "created_by", index: 9)]
    public string $created_by;

    #[ExcelProperty(value: "create_time", index: 10)]
    public string $create_time;

    #[ExcelProperty(value: "update_time", index: 11)]
    public string $update_time;


}